<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>移动端测试</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <style>
    </style>
</head>

<body>



</body>

</html>

<script>
    alert(window.innerWidth)
</script>